class CreatePermisos < ActiveRecord::Migration
  def self.up
    create_table :permisos do |t|
      t.integer :accion_id
      t.integer :perfil_id

      t.timestamps
    end
    add_index :permisos, :perfil_id
  end

  def self.down
    drop_table :permisos
  end
end
